//另一个mock工具,当前如果不可用,可用于替代之
//https://vite-plugin-mock-dev-server.netlify.app/

import { vitePluginFakeServer } from 'vite-plugin-fake-server';
export default function createFakeMock() {
  return vitePluginFakeServer({
    logger: false,
    include: 'mock',
    infixName: false,
    enableProd: true,
    enableDev: true,
    watch: true
  }).then((mock) => mock);
}
